package com.briup.day11;

import com.briup.day11.abBean.Animal;
import com.briup.day11.abBean.Cat;

public class Test_Abstact02 {
    public static void main(String[] args) {
        //    Animal animal=new Animal();//cuowu
        Animal a=new Cat("黄色",10,5);
        a.eat();
        a.sleep();
//        Animal a=new Dog()//无法;


    }



}
